ANSI escape codes can be printed to a shell to as instructions. The below is a list of codes I have used often in my CLI programs and I find myself looking up over and over again.
A great article about it can be found here.
ANSI escape codes can be printed to a shell to as instructions. The below is a list of codes I have used often in my CLI programs and I find myself looking up over and over again.
A great article about it can be found here.
@Component({ | |
selector: 'my-app', | |
template : ` | |
<h3>Class mixin demo</h3> | |
<mixin-demo value="New passed value" [isDisabled]="true"></mixin-demo> | |
`, | |
}) | |
export class AppComponent {} |
The response to my first few posts has been much larger than I’d imagined and I’d like to thank everyone for the encouragement.
If you’re interested in building a trading system I recommend first reading my previous post on general ideas to keep in mind.
My first really technical post will be on how to build a limit order book, probably the single most important component of a trading system. Because the data structure chosen to represent the limit order book will be the primary source of market information for trading models, it is important to make it both absolutely correct and extremely fast.
To give some idea of the data volumes, the Nasdaq TotalView ITCH feed, which is every event in every instrument traded on the Nasdaq, can have data rates of 20+ gigabytes/day with spikes of 3 megabytes/second or more. The individual messages average about 20 bytes each so this means handling
Apps used: Cursor.so / github copilot chat
This is like when humanity stopped using horses for transportation and started using cars. 🐴 👉 🚗
containers: | |
- image: "dockerfile/nginx" | |
ports: | |
- containerPort: 80 | |
hostPort: 8080 |
/** | |
* Utility class for common operations | |
* | |
* Any classes that use Schema.SObjectField, this property is object by calling "Schema.Account.Description" | |
* This allows type safety to ensure that code will not break if fields are changed | |
* this will not work with person accounts | |
* | |
* (c) Advanced Technology Group, 2019 | |
* This code may be used and modified freely as long as this copyright attribution | |
* is included with the code. |
How to fix a USB drive showing up as two drives (fragmented into multiple partitions) on Windows:
diskpart
to enter the disk partition tool.list disk
to see all disks listed.select disk [NUMBER]
. Be careful to select the correct drive.clean
. An error will occur if you have the drive folder open, close the window and repeat the command if this happens.create partition primary
.format fs=ntfs quick
to format the drive (you can also choose to set fs=fat32
).active
.You can use ssacli
(smart storage administrator command line interface) tool to manage any of supported HP Smart Array Controllers in your Proxmox host without need to reboot your server to access Smart Storage Administrator in BIOS. That means no host downtime when managing your storage.
CLI is not as convenient as GUI interface provided by BIOS or desktop utilities, but still allows you to fully manage your controller, physical disks and logical drives on the fly with no Proxmox host downtime.
ssacli
replaces older hpssacli
, but shares the same syntax and adds support for newer servers and controllers.